package input

import (
	"github.com/e421083458/gin_scaffold/public"
	"github.com/gin-gonic/gin"
)

type Client struct {
	Key   string `form:"key"`
	Limit int    `form:"limit" validate:"required"`
}

func (params *Client) BindingParams(c *gin.Context) error {
	return public.DefaultGetValidParams(c, params)
}
